package demo.xlj.yuyi.studentapp.common;

import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import demo.xlj.yuyi.studentapp.R;
import demo.xlj.yuyi.studentapp.base.BaseActivity;

public class LookAnnouncementOtherInfo extends BaseActivity {

    @BindView(R.id.ImageView_back)
    ImageView mImageViewBack;
    @BindView(R.id.TextView_Title)
    TextView mTextViewTitle;
    @BindView(R.id.TextView_Look_Announcement_other_title)
    TextView mTextViewLookAnnouncementOtherTitle;
    @BindView(R.id.TextView_Look_Announcement_other_org)
    TextView mTextViewLookAnnouncementOtherOrg;
    @BindView(R.id.TextView_Look_Announcement_other_content)
    TextView mTextViewLookAnnouncementOtherContent;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_look_announcement_other_info);
        ButterKnife.bind(this);
        Intent intent = getIntent();
        String title = intent.getStringExtra("title");
        String org = intent.getStringExtra("org");
        String content = intent.getStringExtra("content");

        mTextViewLookAnnouncementOtherTitle.setText(title);
        mTextViewLookAnnouncementOtherOrg.setText(org);
        mTextViewLookAnnouncementOtherContent.setText(content);

        mTextViewTitle.setText("公告详情");

    }

    @OnClick(R.id.ImageView_back)
    public void onViewClicked() {
        LookAnnouncementOtherInfo.this.finish();
    }
}
